package com.anxinr.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author anxinr
 */
@Data
@TableName("project")
public class Project extends PageVo{
    @TableId(type = IdType.AUTO)
    private Long id ;
    private String pname ;
    private String pdescription ;
    @DateTimeFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    private Date time ;
    private String user ;
}
